package com.tanhua.api.mongdb;

import com.tanhua.domain.mogo.Comment;
import com.tanhua.domain.vo.PageBeanVo;

//点赞 喜欢 评论操作api
public interface CommentApi {

    //保存
    Integer save(Comment comment);
    //取消
    Integer delete(Comment comment);
    //评论查询
    PageBeanVo findComments(String movementId, Integer page, Integer pagesize);

    //查询comment信息
    PageBeanVo findCommentPage(Integer page, Integer pagesize, int commentType, Long id);
}
